import { Component, OnInit } from '@angular/core';
import {header } from './../data-collect/sites';
import {SitedataserviceService} from "../sitedataservice.service"

@Component({
  selector: 'app-datashow',
  templateUrl: './datashow.component.html',
  styleUrls: ['./datashow.component.css']
})
export class DatashowComponent implements OnInit {

  constructor(private sitedataserviceservice: SitedataserviceService) { }

  ngOnInit() {
    this.sitedatalist=this.sitedataserviceservice.getSiteDataList();

  }
  sitedatalist=null;
  header=header;

}
